/*
 * @Author: levi7754 levi7754@163.com
 * @Date: 2025-10-11 16:45:44
 * @LastEditors: levi7754 levi7754@163.com
 * @LastEditTime: 2025-10-12 17:49:03
 * @FilePath: \udp-nature-mall\main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import i18n from './locale/index'
import store from './store/index'

// #ifndef VUE3
import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'

export function createApp() {
  const app = createSSRApp(App)
  console.log({store})
  app.use(i18n)
  app.use(store)
  return {
    app
  }
}
// #endif